package com.xtxk.common.constant;

/**
 * 
 * @author tiger
 * 
 * 公共常量类
 */
public class CommonConstant {

	/** {@code 500 Server Error} (HTTP/1.0 - RFC 1945) */
	public static final Integer SC_INTERNAL_SERVER_ERROR_500 = 500;

	public static final Integer SC_OK = 1;

	/** 访问权限认证未通过 510 */
	public static final Integer SC_JEECG_NO_AUTHZ = 510;

	public static String X_ACCESS_TOKEN = "X-Access-Token";

	/** 前段传参数为空 */
	public static final Integer PARAMS_IS_NULL = 210;

	/** 修改密码，新密码和确认密码不一致 */
	public static final Integer PWD_NEWPWD_DISACCORD = 220;
	
	/**
	 * DSU服务的项目名称和版本
	 */
	public static final String DSU_PRO_NAME = "/YWTerminal/V1";

	/**
	 * 前缀用户TOKEN
	 */
	public static final String PREFIX_USER_TOKEN = "prefix_user_token_";

	/**
	 * 测试REDIS缓存信息
	 */
	public static final String TEST_DEMO_CACHE = "test:demo";
	
	public static final String SYS_USER_NAME = "admin";
	public static final String SYS_PASS_WORD = "2f7a05538e9abc3d";
	
	/**
	 * 加载数据状态 true加载本地json数据  false动态请求服务数据
	 */
	public static final boolean status = true;
}
